import request from "@/utils/request";
export default {
  //添加篇章章节
  getCoursePublish(id) {
    return request({
      url: `/Learning/edu-course/publish/${id}`,
      method: "get"
    });
  },
  updateCourseStatus(id) {
    return request({
      url: `/Learning/edu-course/publish2/${id}`,
      method: "post"
    });
  }
};
